package builder;

/**
 * @ClassName MealBuilder
 * @Description
 * @Author yuhang11
 * @Date 2021/12/29 8:51 下午
 * @Version 1.0
 */
public class MealBuilder {
    public Meal prepareVegMeal(){
        Meal meal = new Meal();
        meal.addItem(new VegBurger());
        meal.addItem(new Coke());
        return meal;
    }
    public Meal prepareNonVegMeal(){
        Meal meal = new Meal();
        meal.addItem(new ChickenBurger());
        meal.addItem(new Pepsi());
        return meal;
    }
}
